import { http } from "@/utils/http";

// 获取商品分类
export function getGoodsCategoryAPI(conferenceId) {
    return http.request({
      url: `/rest/api/conference/${conferenceId}/sales/template`,
      method: 'GET'
    })
  }

  // 更换新的问题
  export function updateQuestionAPI(goodsId, parameter) {
    return http.request({
      method: 'POST',
      url: `/rest/api/conference/goods/${goodsId}/questions`,
      data: parameter
    })
  }